import request from '@/api/axios'

// 查询团签信息列表
export function listSigning(query) {
  return request({
    url: '/ruo-feiguo/signing/list',
    method: 'get',
    params: query
  })
}

// 查询团签信息详细
export function getSigning(id) {
  return request({
    url: '/ruo-feiguo/signing/' + id,
    method: 'get'
  })
}

// 新增团签信息
export function addSigning(data) {
  return request({
    url: '/ruo-feiguo/signing',
    method: 'post',
    data: data
  })
}

// 修改团签信息
export function updateSigning(data) {
  return request({
    url: '/ruo-feiguo/signing',
    method: 'put',
    data: data
  })
}

// 删除团签信息
export function delSigning(id) {
  return request({
    url: '/ruo-feiguo/signing/' + id,
    method: 'delete'
  })
}
